package com.fyl.log.anno;

import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

@Target(METHOD)
@Retention(RUNTIME)
public @interface AsyncLog {

    @AliasFor("value")
    String action() default "";

    @AliasFor("action")
    String value() default "";

}
